import App from './App'
import Vue from 'vue'

import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'

import store from '@/store/index.js'
Vue.prototype.$store = store

import uView from "uview-ui";
Vue.use(uView);

const app = new Vue({
  ...App,
  store
})

// http拦截器
import httpInterceptor from "@/common/http.interceptor.js"
Vue.use(httpInterceptor, app)

// api接口
import httpAPI from "@/common/http.api.js"
Vue.use(httpAPI, app)

app.$mount()
